const TOKEN_NAME = 'mytoken'

export default {
    getToken: () => {
        return sessionStorage.getItem(TOKEN_NAME)
    },
    setToken: (token) => {
        sessionStorage.setItem(TOKEN_NAME, token)
    },
    removeToken: () => {
        sessionStorage.removeItem(TOKEN_NAME)
    }
}